package cn.mumzone.pos.model;

import java.io.Serializable;
import java.util.List;

public class ReturnGoodsEntity implements Serializable {

    /**
     * realPay : 255.3
     * unitName : 个
     * memberPrice : 255.3
     * goodsId : EA1A82714C000000980000000022E000
     * goodsSkuId : EA1A82715C000000980000000022E000
     * bargainingPrice : 0.00
     * goodsSpec : [{"name":"类型","value":[{"name":"丝绒哑光","checked":"1"}]}]
     * goodsCount : 1
     * discountAvg : 0
     * price : 298
     * registerCount : 0
     * goodsName : 迪奥口红
     * isConsign : 0
     */

    private boolean isChecked;
    private String realPay;
    private String unitName;
    private String memberPrice;
    private String secondPrice;
    private String goodsId;
    private String goodsSkuId;
    private String bargainingPrice;
    private String goodsCount;
    private String discountAvg;
    private String price;
    private String registerCount;
    private String goodsName;
    private String isConsign;
    private String subCode;
    private String returnNum;
    private String returnRegisterNum;
    private List<GoodsSpecBean> goodsSpec;

    public String getSecondPrice() {
        return secondPrice;
    }

    public void setSecondPrice(String secondPrice) {
        this.secondPrice = secondPrice;
    }

    private String goodsCode;
    private int selectCount;
    private int selectUnRegisterCount;
    private int selectRegisterCount;
    private String memberCompanyId;
    private int presentNum;
    private int sendNum;

    public int getSendNum() {
        return sendNum;
    }

    public void setSendNum(int sendNum) {
        this.sendNum = sendNum;
    }

    public int getPresentNum() {
        return presentNum;
    }

    public void setPresentNum(int presentNum) {
        this.presentNum = presentNum;
    }

    public String getMemberCompanyId() {
        return memberCompanyId;
    }

    public void setMemberCompanyId(String memberCompanyId) {
        this.memberCompanyId = memberCompanyId;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public int getSelectCount() {
        return selectCount;
    }

    public void setSelectCount(int selectCount) {
        this.selectCount = selectCount;
    }

    public int getSelectUnRegisterCount() {
        return selectUnRegisterCount;
    }

    public void setSelectUnRegisterCount(int selectUnRegisterCount) {
        this.selectUnRegisterCount = selectUnRegisterCount;
    }

    public int getSelectRegisterCount() {
        return selectRegisterCount;
    }

    public void setSelectRegisterCount(int selectRegisterCount) {
        this.selectRegisterCount = selectRegisterCount;
    }

    public int getGoodsNum() {
        return Integer.parseInt(goodsCount);
    }

    public void setGoodsNum(int goodsNum) {
        this.goodsCount = String.valueOf(goodsNum);
    }

    public int getConsignNum() {
        return Integer.parseInt(registerCount);
    }

    public void setConsignNum(int consignNum) {
        this.registerCount = String.valueOf(consignNum);
    }

    public String getSubCode() {
        return subCode;
    }

    public void setSubCode(String subCode) {
        this.subCode = subCode;
    }

    public String getReturnNum() {
        return returnNum;
    }

    public void setReturnNum(String returnNum) {
        this.returnNum = returnNum;
    }

    public String getReturnRegisterNum() {
        return returnRegisterNum;
    }

    public void setReturnRegisterNum(String returnRegisterNum) {
        this.returnRegisterNum = returnRegisterNum;
    }

    public boolean isChecked() {
        return isChecked;
    }

    public void setChecked(boolean checked) {
        isChecked = checked;
    }

    public String getRealPay() {
        return realPay;
    }

    public void setRealPay(String realPay) {
        this.realPay = realPay;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getMemberPrice() {
        return memberPrice;
    }

    public void setMemberPrice(String memberPrice) {
        this.memberPrice = memberPrice;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsSkuId() {
        return goodsSkuId;
    }

    public void setGoodsSkuId(String goodsSkuId) {
        this.goodsSkuId = goodsSkuId;
    }

    public String getBargainingPrice() {
        return bargainingPrice;
    }

    public void setBargainingPrice(String bargainingPrice) {
        this.bargainingPrice = bargainingPrice;
    }

    public String getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(String goodsCount) {
        this.goodsCount = goodsCount;
    }

    public String getDiscountAvg() {
        return discountAvg;
    }

    public void setDiscountAvg(String discountAvg) {
        this.discountAvg = discountAvg;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getRegisterCount() {
        return registerCount;
    }

    public void setRegisterCount(String registerCount) {
        this.registerCount = registerCount;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getIsConsign() {
        return isConsign;
    }

    public void setIsConsign(String isConsign) {
        this.isConsign = isConsign;
    }

    public List<GoodsSpecBean> getGoodsSpec() {
        return goodsSpec;
    }

    public void setGoodsSpec(List<GoodsSpecBean> goodsSpec) {
        this.goodsSpec = goodsSpec;
    }

    public static class GoodsSpecBean implements Serializable {
        /**
         * name : 类型
         * value : [{"name":"丝绒哑光","checked":"1"}]
         */

        private String name;
        private String value;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }
}
